import { NgModule }      from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';


import { TooltipModule } from 'ng2-bootstrap/tooltip';
import { RatingModule } from 'ng2-bootstrap/rating';
import { ShareModule } from "../../share/share.module";
import { OrderComponent } from "./order.component";
import { OrderRoute } from "./order.routes";
import { OrderDetailComponent } from './order-detail/order-detail.component';
import { OrderReciveComponent  } from "./order-recive/order-recive.component";
import { OrderCompleteComponent } from './order-complete/order-complete.component';
import { OrderConfirmComponent } from './order-confirm/order-confirm.component';
import { OrderRevokeComponent } from './order-revoke/order-revoke.component';
import { OrderNewComponent } from './order-new/order-new.component';
import { RepairService } from "../repair.service";


@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ShareModule,
    OrderRoute,
    TooltipModule.forRoot(),
    RatingModule.forRoot()

  ],
  declarations: [
    OrderComponent,
    OrderDetailComponent,
    OrderReciveComponent,
    OrderCompleteComponent,
    OrderConfirmComponent,
    OrderRevokeComponent,
    OrderNewComponent
  ],
  providers:[
    RepairService
  ]
})
export class OrderModule {}
